import request from '@/utils/request'

export function listFeedback(query) {
  return request({
    url: '/feedback/list',
    method: 'post',
    data: query
  })
}

export function deleteFeedback(query) {
  return request({
    url: '/feedback/delete',
    method: 'post',
    data: query
  })
}


export function listHelp(query) {
  return request({
    url: '/help/list',
    method: 'post',
    data: query
  })
}

export function updateHelpStatus(query) {
  return request({
    url: '/help/updateHelpStatus',
    method: 'post',
    data: query
  })
}


export function createHelp(query) {
  return request({
    url: '/help/createHelp',
    method: 'post',
    data: query
  })
}

export function updateHelp(query) {
  return request({
    url: '/help/updateHelp',
    method: 'post',
    data: query
  })
}

export function deleteHelp(query) {
  return request({
    url: '/help/deleteHelp',
    method: 'post',
    data: query
  })
}
